﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Domain.审计字段;

namespace Domainwj.物资管理
{
    /// <summary>
    /// 物资采购
    /// </summary>
    public class SupplyPurchase : ApprovalAuditableEntityBase
    {
        /// <summary>
        /// 物资采购Id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 货物名称
        /// </summary>
        public string GoodsName { get; set; }
        /// <summary>
        /// 类型Id
        /// </summary>
        public int TypeId { get; set; }
        /// <summary>
        /// 材质Id
        /// </summary>
        public int Materialid { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Size { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        public string Origin { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 期望交付日期
        /// </summary>
        public DateTime? ExpectedDeliveryDate { get; set; }
        /// <summary>
        /// 用途描述
        /// </summary>
        public string UsageDescription { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 审批编号
        /// </summary>
        public string ProcessDetailCode { get; set; }
    }
}
